package com.prs.crm.domain.oa;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-5-10 16:36:45 自定义按钮设置
 */
@Entity
@Table(name="oa_custombuttonset")
public class CustomButtonSet extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	private String name;
	private String place;
	private String remark;
	private Integer seriation;
	private String prompt;
	private String type;
	private String selectCondition;
	@OneToMany(fetch=FetchType.LAZY,mappedBy="customButtonSet")
	private Set<FramesSet> framesSet;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getSeriation() {
		return seriation;
	}
	public void setSeriation(Integer seriation) {
		this.seriation = seriation;
	}
	public String getPrompt() {
		return prompt;
	}
	public void setPrompt(String prompt) {
		this.prompt = prompt;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Set<FramesSet> getFramesSet() {
		return framesSet;
	}
	public void setFramesSet(Set<FramesSet> framesSet) {
		this.framesSet = framesSet;
	}
	public String getSelectCondition() {
		return selectCondition;
	}
	public void setSelectCondition(String selectCondition) {
		this.selectCondition = selectCondition;
	}
}
